//
//  NSDate+Date.h
//  TomatoClock
//
//  Created by jianghua on 2018/7/15.
//  Copyright © 2018年 hjh. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Date)
+ (NSString *)getNowTimeTimeinterval;
+ (NSString *)numberOfDaysWithFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (CGFloat)valueOfDaysWithFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate;
+ (NSString *)getCurrentDate;
+ (NSString *)getCurrentWeek;
+ (NSString *)getTomorrowWeek;
+ (NSInteger)getCurrentY;
+ (NSInteger)getCurrentM;
+ (NSInteger)getCurrentD;
+ (NSInteger)getCurrentH;
+ (NSInteger)getCurrentMin;
+ (NSString *)getCurrentMD;
+ (NSString *)getDateAndTimeWithDate:(NSDate *)date;
+ (NSString *)getWeekWithDate:(NSDate *)date;
+ (NSString *)getTomorrowDay:(NSDate *)aDate;
//+ (NSDate *)getDateFromTimeInterval:(NSString *)timeinterval;
@end
